details widget name

Plugin communication and request processing

Chapter details

The image below depicts how a user request is handled in the Atlas system. Moreover, the picture shows the general dependencies between the plugin types described in the previous sections.

There are two ways in which a user can send a request to the application – either through the configuration interface or from a website, created with the system. In the first case the request is processed by a zk web plugin and in the second – by an HTML renderer. Afterwards, the request is sent to the business logic service. Here, there are two options for the request:

  1. The component which processes the request has no cache functionality. In this case, the specific business logic is applied and the request is sent to the data layer.

  2. The component which processes the request has a cache plugin. In this case, if the cache contains the required business object, it is returned to the gui layer. Otherwise the request is processed as described in the first case.

In the data layer, the request is executed - either a business object is created from the data in the database, or a write operation is performed (save or delete a business object).